package com.smfx.yxt.view;

import com.smfx.yxt.common.Const;
import com.smfx.yxt.wechat.utils.WechatGlobalMap;

public class StudentInputTotalView {

	private Integer grade;
	
	private Integer clazz;
	
	private Integer noSign; 
	
	private Integer hadSign;

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getClazz() {
		return clazz;
	}

	public void setClazz(Integer clazz) {
		this.clazz = clazz;
	}

	public Integer getNoSign() {
		return noSign;
	}

	public void setNoSign(Integer noSign) {
		this.noSign = noSign;
	}

	public Integer getHadSign() {
		return hadSign;
	}

	public void setHadSign(Integer hadSign) {
		this.hadSign = hadSign;
	}
  	
	public String getGradeName(){
		TermView view = (TermView) WechatGlobalMap.get(Const.CACHE_TERM).getValue();
		return view.getGradeName(this.grade);
	}
}
